package com.smartalarmclock.UI;

import java.util.ArrayList;

import com.smartalarmclock.UI.R;

import android.app.Activity;
import android.os.Bundle;
import android.widget.ListView;

public class ScheduleActivity extends Activity {
	/** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main_menu);
        
        ArrayList<MainMenuItemDetails> image_details = GetSearchResults();
        
        final ListView lv1 = (ListView) findViewById(R.id.listV_main);
        lv1.setAdapter(new ItemListBaseAdapter(this, image_details));
    }
    
    private ArrayList<MainMenuItemDetails> GetSearchResults(){
    	ArrayList<MainMenuItemDetails> results = new ArrayList<MainMenuItemDetails>();
    	
    	MainMenuItemDetails item_details = new MainMenuItemDetails("Schedule", 5);
    	results.add(item_details);
    	
    	item_details = new MainMenuItemDetails("Schedule", 5);
    	results.add(item_details);
    	
    	item_details = new MainMenuItemDetails("Schedule", 5);
    	results.add(item_details);
    	
    	item_details = new MainMenuItemDetails("Schedule", 5);
    	results.add(item_details);
    	
    	item_details = new MainMenuItemDetails("Schedule", 5);
    	results.add(item_details);
    	
    	return results;
    }

}
